package edu.washington.cs.sounddetector.server.api.method;

import edu.washington.cs.sounddetector.server.api.Method;

public class RenameDetector implements Method
{

    private String oldDetectorId;
    private String newDetectorId;

    public RenameDetector()
    {
    }

    /**
     * @param oldDetectorId
     * @param newDetectorId
     */
    public RenameDetector(String oldDetectorId, String newDetectorId)
    {
        this.oldDetectorId = oldDetectorId;
        this.newDetectorId = newDetectorId;
    }

    /**
     * @return the oldDetectorId
     */
    public String getOldDetectorId()
    {
        return oldDetectorId;
    }

    /**
     * @param oldDetectorId
     *            the oldDetectorId to set
     */
    public void setOldDetectorId(String oldDetectorId)
    {
        this.oldDetectorId = oldDetectorId;
    }

    /**
     * @return the newDetectorId
     */
    public String getNewDetectorId()
    {
        return newDetectorId;
    }

    /**
     * @param newDetectorId
     *            the newDetectorId to set
     */
    public void setNewDetectorId(String newDetectorId)
    {
        this.newDetectorId = newDetectorId;
    }

}
